package com.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fegin.bean.admin.MenuResourse;
import com.fegin.bean.common.ztree.ZtreeBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
  * 菜单资源表 Mapper 接口
 * </p>
 *
 * @author 张子艺
 * @since 2019-01-08
 */
public interface MenuResourseMapper extends BaseMapper<MenuResourse> {
    List<ZtreeBean> findMenuZtree();
    List<ZtreeBean> findMenuZtreeByPeople(@Param("loginId")Long loginId);
}